<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<style>
    .t{
        border: 2px solid lightblue;
        table-layout: fixed;
        width: 300px;
        height: 300px;
        border-collapse: collapse;
    }

    .mid{
        width: 100px;
        height: 100px;
        background-color: #000;
    }
    .red{
        background-color: red;
    }
    .green{
        background-color: green;
    }
    .blue{
        background-color: blue;
    }
    .yellow{
        background-color: yellow;
    }
</style>
<body>

<table class="t">
    <tr>
        <td colspan="2" class="red"></td>
        <td rowspan="2" class="green"></td>
    </tr>
    <tr>
        <td rowspan="2" class="blue"></td>
        <td class="mid"></td>
    </tr>
    <tr>
        <td colspan="2" class="yellow"></td>
    </tr>
</table>

</body>
</html>